<template>
    <div>
        <el-dialog v-dialogDrag title="关于......的标准" :visible="isShowPreview" width="40%" @close="dialogClose">
            <div class="content"></div>
            <div class="button">
                <el-button type="primary" class="pull-right margin-l-25">下载</el-button>
                <el-button @click="dialogClose" class="pull-right">取消</el-button>
            </div>
        </el-dialog>
    </div>
</template>

<script>
export default {
    //接受父组件
    props: {
        isShowPreview: {
            type: Boolean
        }
    },
 
    data () {
        return {
           
        }
    },
    methods: {
        dialogClose () {
            this.$emit('dialogClose')
        },
        
    },
}
</script>

<style scoped>
.content{
    border: 1px solid #999;
    height: 200px;
    margin-bottom: 10px;
}
.button{
    padding-bottom: 40px;
}
</style>